﻿<phoneNavigation:PhoneApplicationPage xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:phoneNavigation="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Navigation" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" xmlns:Phone7ActionPack_Behaviors_Actions="clr-namespace:Phone7ActionPack.Behaviors.Actions;assembly=Phone7ActionPack.Behaviors" xmlns:Phone7ActionPack_Behaviors_Controls="clr-namespace:Phone7ActionPack.Behaviors.Controls;assembly=Phone7ActionPack.Behaviors" xmlns:Phone7ActionPack_Behaviors="clr-namespace:Phone7ActionPack.Behaviors;assembly=Phone7ActionPack.Behaviors" 
    xmlns:Phone7ActionPack_Controls="clr-namespace:Phone7ActionPack.Controls;assembly=Phone7ActionPack" 
    xmlns:local="clr-namespace:Phone7ActionPack_SampleApp1" 
    x:Class="Phone7ActionPack_SampleApp1.MainPage"
    d:DesignWidth="480" d:DesignHeight="800"
    mc:Ignorable="d">

	<phoneNavigation:PhoneApplicationPage.FontFamily>
		<StaticResource ResourceKey="PhoneFontFamilyNormal"/>
	</phoneNavigation:PhoneApplicationPage.FontFamily>
	<phoneNavigation:PhoneApplicationPage.FontSize>
		<StaticResource ResourceKey="PhoneFontSizeNormal"/>
	</phoneNavigation:PhoneApplicationPage.FontSize>
	<phoneNavigation:PhoneApplicationPage.Foreground>
		<StaticResource ResourceKey="PhoneForegroundBrush"/>
	</phoneNavigation:PhoneApplicationPage.Foreground>

    <Grid x:Name="LayoutRoot" Background="{StaticResource PhoneBackgroundBrush}">
        <Grid.RowDefinitions>
        	<RowDefinition Height="Auto"/>
        	<RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitleGrid is the name of the application and page title-->
        <Grid x:Name="TitleGrid" Grid.Row="0">
            <TextBlock Text="MY APPLICATION" x:Name="textBlockPageTitle" Style="{StaticResource PhoneTextPageTitle1Style}"/>
            <TextBlock Text="Location Control Demo" x:Name="textBlockListTitle" Style="{StaticResource PhoneTextPageTitle2Style}" FontSize="32"/>
        </Grid>

        <!--ContentGrid is empty. Place new content here-->
        <Grid x:Name="ContentGrid" Grid.Row="1">
        	<Grid.RowDefinitions>
        		<RowDefinition Height="0.114*"/>
        		<RowDefinition Height="0.752*"/>
        		<RowDefinition Height="0.134*"/>
        	</Grid.RowDefinitions>
        	<local:LocationApproach2 Grid.Row="1" d:LayoutOverrides="Width, Height"/>
        	<local:LocationApproach1 Grid.Row="1" d:LayoutOverrides="Width, Height" Visibility="Collapsed"/>
        </Grid>

    	
    </Grid>
    
</phoneNavigation:PhoneApplicationPage>